﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Drawing;
using System.Data;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace CPEBookWin
{
    public partial class InfosProfilControl : UserControl
    {
        public string Username { set { lblUsername.Text = value; } }
        public string Age { set { lblAge.Text = value; } }
        public string Sexe { set { lblSexe.Text = value; } }
        public string Filliere { set { lblFiliere.Text = value; } }
        public string Promotion { set { lblPromotion.Text = value; } }
        public string Email { set { lblEmail.Text = value; } }
        public Button BoutonModifierProfil {
            get { return btnModifProfil; }
            set { btnModifProfil = value; } 
        }

        public void affichageApercu()
        {
            this.Controls.Remove(lblAge);
            this.Controls.Remove(lblEmail);
            this.Controls.Remove(lblAffichageAge);
            this.Controls.Remove(lblAffichageEmail);
        }

        public InfosProfilControl()
        {
            InitializeComponent();
        }
    }
}
